﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class user_user_reback : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (IsPostBack)
        {
        }
        else
        {
            uid.Text = this.Request["uid"].ToString();

            btnReset.Attributes.Add("OnClick", "javascript:return chk();");
        }
    }
    protected void btnReset_Click(object sender, EventArgs e)
    {
        TUser oUser = new TUser(uid.Text.Trim());
        oUser.ChangePWD(password1.Text.Trim());
        this.Response.Redirect("user_reback_good.aspx");
    }
}
